package com.r_z.service;

import com.r_z.entity.Goods;
import com.r_z.entity.PurchasePlan;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;
import java.util.Map;

/**
 * @author 周楠櫻木
 * @version 1.0
 * @date 2023/6/4
 */
@Service
public interface GoodsService {

    List<PurchasePlan> selectPurchasePlan();

    int insertPurchasePlan(PurchasePlan[] purchasePlan);

    List<Goods> LimitselectGoods(int page,int limit,String where);

    int countselectGoods(String where);

    List<PurchasePlan> selectPurchasePlan(int page,int limit,String strWhere);

    int countPurchasePlan(String strWhere);

    int deletePurchasePlan(int goodId);

    boolean addPurchasePlan(List<PurchasePlan> purchasePlan);
    boolean updatePurchasePlan(PurchasePlan plan);


}
